<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>UserLogin</title>
    <!-- Bootstrap -->
    <link href="source/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
    <script src="source/bootstrap/js/jquery-3.5.1.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="source/bootstrap/js/bootstrap.min.js"></script>

    <!-- style.css -->
    <link href="source/css/style.css" rel="stylesheet">

    <script src="source/js/vue.js"></script>
    <script src="source/js/vue-resource.min.js"></script>
    <script src="source/layer/layer.js"></script>

</head>
<body>
<div id="login-main" class="container">
    <div class="row">
        <div id="window" class="col-xs-12 col-sm-12 col-md-12 col-md-offset-3 center-block">
            <div class="text-center">
                <h2>Login</h2>
                <p>Etiam sit amet iaculis nunc, et feugiat enim. Aenean lorem dui, mattis et neque ac, viverra dignissim elit. Nunc quis finibus lorem.</p>
            </div>
            <form class="form-horizontal ">
                <div class="username">
                    <div class="form-group ">
                        <label for="inputEmail3" class="col-xs-3 col-sm-2 control-label">Email</label>
                        <div class="col-xs-9 col-sm-10 ">
                            <input type="email" onkeyup="this.value=this.value.replace(/[^\w_@.]/g,'');" class="form-control" v-model="admin.username" id="inputEmail3" placeholder="Email">
                        </div>
                    </div>
                </div>
                <div class="password">
                    <div class="form-group password">
                        <label for="inputPassword3" class="col-xs-3 col-sm-2  control-label" >Password</label>
                        <div class="col-xs-9 col-sm-10 ">
                            <input type="password" class="form-control" id="inputPassword3" v-model="admin.password" placeholder="Password">
                        </div>
                    </div>
                </div>
                <div class="submit">
                    <div class="form-group">
                        <div class="col-xs-9 col-sm-offset-2 col-sm-10 pull-right">
                            <a class="btn btn-info btn-block info" @click="loginClick" href="#" data-toggle="tab">Login</a>
                        </div>
                    </div>
                </div>
            </form>
            <!--style="color:#1E9FFF"-->
            <h6 class="pull-right text-center list-inline"> 还没账号 <a class="glyphicon glyphicon-hand-right" href="register.html"><span class="text-info" >注册</span></a></h6>
        </div>
        <div class="navbar-fixed-bottom text-center">
            <p>© 2021 Mr.Chen | <a href="mailto:972326572@qq.com">972326572@qq.com</a></p><br>
        </div>
    </div>
</div>
<script src="source/js/login.js"></script>
</body>
</html>